<?php
namespace ucenter\models;

use Yii;
use yii\helpers\Inflector;
use yii\helpers\StringHelper;

/**
 * ActiveRecord行为基础类
 *
 * @author dejin <dejin@aliyun.com>
 */
class ActiveRecord extends \models\ActiveRecord
{
    public static function tableName()
    {
        return '{{hhf_ucenter_' . Inflector::camel2id(StringHelper::basename(get_called_class()), '_') . '}}';
    }
}